package com.qsboss.demo.mapper;

import com.github.pagehelper.Page;
import com.qsboss.demo.pojo.TbBill;
import com.qsboss.demo.vo.CustomerNeedPay;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 军哥
 * @version 1.0
 * @description: TbBillMapper
 * @date 2023/10/25 10:03
 */

public interface TbBillMapper {
    Page<TbBill> getBillByPage();
    Page<TbBill> getBillInCustomerByPage(Integer customerId);
    TbBill getBillById(Integer billId);
    void setBillPayAck(@Param("billId") Integer billId, @Param("payAck") Integer payAck);
    void setAckMail(@Param("billId") Integer billId, @Param("i") int i);
    void setMailSend(@Param("billId") Integer billId, @Param("flag") int flag);
    TbBill getRandomBill();
    void addBill(TbBill tbBill);
    List<CustomerNeedPay> getCustomerNeedPay();
    List<TbBill> getBillListByDate(String billDate);
}
